PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / martin - neon space ps3 [fmtvlsm] - SoOfCourseWhatIWantIsAPwMoebiusForEachLayer.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fGammaAdj=1.980 |
| 7 | fDecay=0.500 |
| 8 | fVideoEchoZoom=1.000 |
| 9 | fVideoEchoAlpha=0.500 |
| 10 | nVideoEchoOrientation=3 |
| 11 | nWaveMode=4 |
| 12 | bAdditiveWaves=1 |
| 13 | bWaveDots=0 |
| 14 | bWaveThick=1 |
| 15 | bModWaveAlphaByVolume=1 |
| 16 | bMaximizeWaveColor=0 |
| 17 | bTexWrap=1 |
| 18 | bDarkenCenter=0 |
| 19 | bRedBlueStereo=0 |
| 20 | bBrighten=0 |
| 21 | bDarken=1 |
| 22 | bSolarize=0 |
| 23 | bInvert=0 |
| 24 | fWaveAlpha=0.001 |
| 25 | fWaveScale=0.527 |
| 26 | fWaveSmoothing=0.450 |
| 27 | fWaveParam=0.000 |
| 28 | fModWaveAlphaStart=0.000 |
| 29 | fModWaveAlphaEnd=1.320 |
| 30 | fWarpAnimSpeed=1.459 |
| 31 | fWarpScale=2.007 |
| 32 | fZoomExponent=1.00000 |
| 33 | fShader=0.000 |
| 34 | zoom=0.99990 |
| 35 | rot=0.00000 |
| 36 | cx=0.500 |
| 37 | cy=0.500 |
| 38 | dx=0.00000 |
| 39 | dy=0.00000 |
| 40 | warp=0.01000 |
| 41 | sx=0.99990 |
| 42 | sy=1.00000 |
| 43 | wave_r=0.800 |
| 44 | wave_g=0.490 |
| 45 | wave_b=1.000 |
| 46 | wave_x=0.500 |
| 47 | wave_y=0.500 |
| 48 | ob_size=0.015 |
| 49 | ob_r=0.000 |
| 50 | ob_g=0.000 |
| 51 | ob_b=1.000 |
| 52 | ob_a=0.000 |
| 53 | ib_size=0.260 |
| 54 | ib_r=0.250 |
| 55 | ib_g=0.250 |
| 56 | ib_b=0.250 |
| 57 | ib_a=0.000 |
| 58 | nMotionVectorsX=64.000 |
| 59 | nMotionVectorsY=48.000 |
| 60 | mv_dx=0.000 |
| 61 | mv_dy=0.000 |
| 62 | mv_l=1.850 |
| 63 | mv_r=0.500 |
| 64 | mv_g=0.500 |
| 65 | mv_b=0.500 |
| 66 | mv_a=0.000 |
| 67 | b1n=0.000 |
| 68 | b2n=0.000 |
| 69 | b3n=0.000 |
| 70 | b1x=1.000 |
| 71 | b2x=1.000 |
| 72 | b3x=1.000 |
| 73 | b1ed=0.000 |
| 74 | wavecode_0_enabled=0 |
| 75 | wavecode_0_samples=282 |
| 76 | wavecode_0_sep=20 |
| 77 | wavecode_0_bSpectrum=0 |
| 78 | wavecode_0_bUseDots=1 |
| 79 | wavecode_0_bDrawThick=0 |
| 80 | wavecode_0_bAdditive=0 |
| 81 | wavecode_0_scaling=7.85800 |
| 82 | wavecode_0_smoothing=0.10000 |
| 83 | wavecode_0_r=0.000 |
| 84 | wavecode_0_g=0.300 |
| 85 | wavecode_0_b=1.000 |
| 86 | wavecode_0_a=0.600 |
| 87 | wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 88 | wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 89 | wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 90 | wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 91 | wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 92 | wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 93 | wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 94 | wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 95 | wave_0_init9= |
| 96 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 97 | wave_0_per_point1=x = rand(100)/100; |
| 98 | wave_0_per_point2=y = rand(100)/100; |
| 99 | wavecode_1_enabled=0 |
| 100 | wavecode_1_samples=512 |
| 101 | wavecode_1_sep=0 |
| 102 | wavecode_1_bSpectrum=0 |
| 103 | wavecode_1_bUseDots=1 |
| 104 | wavecode_1_bDrawThick=1 |
| 105 | wavecode_1_bAdditive=0 |
| 106 | wavecode_1_scaling=0.89152 |
| 107 | wavecode_1_smoothing=0.82000 |
| 108 | wavecode_1_r=1.000 |
| 109 | wavecode_1_g=1.000 |
| 110 | wavecode_1_b=1.000 |
| 111 | wavecode_1_a=0.100 |
| 112 | wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 113 | wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 114 | wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 115 | wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 116 | wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 117 | wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 118 | wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 119 | wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 120 | wave_1_init9= |
| 121 | wave_1_per_frame1=tm = time*.1; |
| 122 | wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 123 | wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 124 | wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 125 | wave_1_per_frame5= |
| 126 | wave_1_per_frame6=tic = min(time - tin,1); |
| 127 | wave_1_per_frame7=tin = time; |
| 128 | wave_1_per_frame8= |
| 129 | wave_1_per_frame9=tva = (tic*q1*.5); |
| 130 | wave_1_per_frame10=tvb = (tic*q2*.5); |
| 131 | wave_1_per_frame11=tvc = (tic*q3*.5); |
| 132 | wave_1_per_frame12= |
| 133 | wave_1_per_frame13=q1 = tva; |
| 134 | wave_1_per_frame14=q2 = tvb; |
| 135 | wave_1_per_frame15=q3 = tvc; |
| 136 | wave_1_per_frame16= |
| 137 | wave_1_per_frame17=sz = .5; |
| 138 | wave_1_per_frame18=len = q4; |
| 139 | wave_1_per_frame19=t4 = len; |
| 140 | wave_1_per_point1=xi = rand(100)/100; |
| 141 | wave_1_per_point2=yi = rand(100)/100; |
| 142 | wave_1_per_point3= |
| 143 | wave_1_per_point4=x = xi; y = yi; |
| 144 | wave_1_per_point5= |
| 145 | wave_1_per_point6=a = q21/15; |
| 146 | wavecode_2_enabled=0 |
| 147 | wavecode_2_samples=512 |
| 148 | wavecode_2_sep=0 |
| 149 | wavecode_2_bSpectrum=0 |
| 150 | wavecode_2_bUseDots=0 |
| 151 | wavecode_2_bDrawThick=1 |
| 152 | wavecode_2_bAdditive=0 |
| 153 | wavecode_2_scaling=0.89152 |
| 154 | wavecode_2_smoothing=0.82000 |
| 155 | wavecode_2_r=0.000 |
| 156 | wavecode_2_g=0.200 |
| 157 | wavecode_2_b=0.000 |
| 158 | wavecode_2_a=1.000 |
| 159 | wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 160 | wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 161 | wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 162 | wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 163 | wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 164 | wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 165 | wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 166 | wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3; |
| 167 | wave_2_init9= |
| 168 | wave_2_per_frame1=tm = time*.1; |
| 169 | wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 170 | wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 171 | wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 172 | wave_2_per_frame5= |
| 173 | wave_2_per_frame6=tic = min(time - tin,1); |
| 174 | wave_2_per_frame7=tin = time; |
| 175 | wave_2_per_frame8= |
| 176 | wave_2_per_frame9=tva = (tic*q1*.5); |
| 177 | wave_2_per_frame10=tvb = (tic*q2*.5); |
| 178 | wave_2_per_frame11=tvc = (tic*q3*.5); |
| 179 | wave_2_per_frame12= |
| 180 | wave_2_per_frame13=q1 = tva; |
| 181 | wave_2_per_frame14=q2 = tvb; |
| 182 | wave_2_per_frame15=q3 = tvc; |
| 183 | wave_2_per_frame16= |
| 184 | wave_2_per_frame17=sz = .5; |
| 185 | wave_2_per_frame18=len = 1; |
| 186 | wave_2_per_frame19=t4 = len; |
| 187 | wavecode_3_enabled=0 |
| 188 | wavecode_3_samples=512 |
| 189 | wavecode_3_sep=0 |
| 190 | wavecode_3_bSpectrum=1 |
| 191 | wavecode_3_bUseDots=1 |
| 192 | wavecode_3_bDrawThick=0 |
| 193 | wavecode_3_bAdditive=0 |
| 194 | wavecode_3_scaling=1.00000 |
| 195 | wavecode_3_smoothing=0.50000 |
| 196 | wavecode_3_r=1.000 |
| 197 | wavecode_3_g=1.000 |
| 198 | wavecode_3_b=1.000 |
| 199 | wavecode_3_a=1.000 |
| 200 | shapecode_0_enabled=0 |
| 201 | shapecode_0_sides=4 |
| 202 | shapecode_0_additive=1 |
| 203 | shapecode_0_thickOutline=0 |
| 204 | shapecode_0_textured=0 |
| 205 | shapecode_0_num_inst=1 |
| 206 | shapecode_0_x=0.500 |
| 207 | shapecode_0_y=0.500 |
| 208 | shapecode_0_rad=0.04896 |
| 209 | shapecode_0_ang=0.00000 |
| 210 | shapecode_0_tex_ang=1.00531 |
| 211 | shapecode_0_tex_zoom=1.53117 |
| 212 | shapecode_0_r=0.000 |
| 213 | shapecode_0_g=1.000 |
| 214 | shapecode_0_b=1.000 |
| 215 | shapecode_0_a=1.000 |
| 216 | shapecode_0_r2=0.830 |
| 217 | shapecode_0_g2=0.930 |
| 218 | shapecode_0_b2=0.800 |
| 219 | shapecode_0_a2=0.000 |
| 220 | shapecode_0_border_r=1.000 |
| 221 | shapecode_0_border_g=1.000 |
| 222 | shapecode_0_border_b=0.000 |
| 223 | shapecode_0_border_a=0.000 |
| 224 | shape_0_per_frame1= |
| 225 | shape_0_per_frame2=trel = time/3; |
| 226 | shape_0_per_frame3= |
| 227 | shape_0_per_frame4=x = .5+sin(trel*2); |
| 228 | shape_0_per_frame5=y = .5+cos(trel*1.3); |
| 229 | shape_0_per_frame6= |
| 230 | shape_0_per_frame7= |
| 231 | shape_0_per_frame8= |
| 232 | shape_0_per_frame9= |
| 233 | shape_0_per_frame10=rad = .1; |
| 234 | shape_0_per_frame11=a = .8; |
| 235 | shapecode_1_enabled=0 |
| 236 | shapecode_1_sides=4 |
| 237 | shapecode_1_additive=0 |
| 238 | shapecode_1_thickOutline=1 |
| 239 | shapecode_1_textured=1 |
| 240 | shapecode_1_num_inst=1 |
| 241 | shapecode_1_x=0.260 |
| 242 | shapecode_1_y=0.200 |
| 243 | shapecode_1_rad=0.39317 |
| 244 | shapecode_1_ang=0.00000 |
| 245 | shapecode_1_tex_ang=0.00000 |
| 246 | shapecode_1_tex_zoom=0.93550 |
| 247 | shapecode_1_r=0.000 |
| 248 | shapecode_1_g=0.550 |
| 249 | shapecode_1_b=0.500 |
| 250 | shapecode_1_a=1.000 |
| 251 | shapecode_1_r2=0.000 |
| 252 | shapecode_1_g2=0.400 |
| 253 | shapecode_1_b2=0.400 |
| 254 | shapecode_1_a2=0.070 |
| 255 | shapecode_1_border_r=0.300 |
| 256 | shapecode_1_border_g=0.700 |
| 257 | shapecode_1_border_b=0.800 |
| 258 | shapecode_1_border_a=0.400 |
| 259 | shape_1_per_frame1=tex_zoom = q27; |
| 260 | shapecode_2_enabled=0 |
| 261 | shapecode_2_sides=44 |
| 262 | shapecode_2_additive=0 |
| 263 | shapecode_2_thickOutline=0 |
| 264 | shapecode_2_textured=0 |
| 265 | shapecode_2_num_inst=1 |
| 266 | shapecode_2_x=0.503 |
| 267 | shapecode_2_y=0.500 |
| 268 | shapecode_2_rad=0.03886 |
| 269 | shapecode_2_ang=0.00000 |
| 270 | shapecode_2_tex_ang=0.00000 |
| 271 | shapecode_2_tex_zoom=0.60986 |
| 272 | shapecode_2_r=1.000 |
| 273 | shapecode_2_g=0.100 |
| 274 | shapecode_2_b=0.000 |
| 275 | shapecode_2_a=0.900 |
| 276 | shapecode_2_r2=1.000 |
| 277 | shapecode_2_g2=1.000 |
| 278 | shapecode_2_b2=1.000 |
| 279 | shapecode_2_a2=0.000 |
| 280 | shapecode_2_border_r=0.500 |
| 281 | shapecode_2_border_g=0.500 |
| 282 | shapecode_2_border_b=1.000 |
| 283 | shapecode_2_border_a=0.000 |
| 284 | shape_2_per_frame1=x = rand(50)/50; |
| 285 | shape_2_per_frame2=y = .5; |
| 286 | shape_2_per_frame3= |
| 287 | shape_2_per_frame4=r = .4; |
| 288 | shape_2_per_frame5=g = .6; |
| 289 | shape_2_per_frame6=b = 1; |
| 290 | shape_2_per_frame7=r2 = r; |
| 291 | shape_2_per_frame8=g2 = g; |
| 292 | shape_2_per_frame9=b2 = b; |
| 293 | shape_2_per_frame10= |
| 294 | shape_2_per_frame11=a2 = min(q21/2 ,1)/2; |
| 295 | shape_2_per_frame12= |
| 296 | shape_2_per_frame13=a = 0; |
| 297 | shape_2_per_frame14= |
| 298 | shape_2_per_frame15=rad = a2 * (.1+abs(x-.5))/2 ; |
| 299 | shapecode_3_enabled=0 |
| 300 | shapecode_3_sides=4 |
| 301 | shapecode_3_additive=0 |
| 302 | shapecode_3_thickOutline=1 |
| 303 | shapecode_3_textured=1 |
| 304 | shapecode_3_num_inst=1 |
| 305 | shapecode_3_x=0.260 |
| 306 | shapecode_3_y=0.760 |
| 307 | shapecode_3_rad=0.39478 |
| 308 | shapecode_3_ang=0.00000 |
| 309 | shapecode_3_tex_ang=0.00000 |
| 310 | shapecode_3_tex_zoom=0.49981 |
| 311 | shapecode_3_r=1.000 |
| 312 | shapecode_3_g=1.000 |
| 313 | shapecode_3_b=1.000 |
| 314 | shapecode_3_a=1.000 |
| 315 | shapecode_3_r2=1.000 |
| 316 | shapecode_3_g2=1.000 |
| 317 | shapecode_3_b2=1.000 |
| 318 | shapecode_3_a2=0.800 |
| 319 | shapecode_3_border_r=0.200 |
| 320 | shapecode_3_border_g=0.700 |
| 321 | shapecode_3_border_b=0.500 |
| 322 | shapecode_3_border_a=1.000 |
| 323 | shape_3_per_frame1=tex_zoom = q27/2; |
| 324 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 325 | per_frame_2=dec_slow = pow (0.9, 30/fps); |
| 326 | per_frame_3=beat = max (max (bass, mid), treb); |
| 327 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 328 | per_frame_5=is_beat = above(beat, .1+avg+peak) * above (time, t0+.2); |
| 329 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 330 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 331 | per_frame_8=index = (index + is_beat) %16; |
| 332 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%5; |
| 333 | per_frame_10=monitor = index2; |
| 334 | per_frame_11= |
| 335 | per_frame_12=q20 = avg; |
| 336 | per_frame_13=q21 = beat; |
| 337 | per_frame_14=q22 = peak; |
| 338 | per_frame_15=q23 = index; |
| 339 | per_frame_16=q24 = is_beat; |
| 340 | per_frame_17=q26 = bass + mid + treb; |
| 341 | per_frame_18=q27 = index; |
| 342 | per_frame_19=q28 = index2; |
| 343 | per_frame_20= |
| 344 | per_frame_21=k1 = is_beat*equal(index%2,0); |
| 345 | per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1; |
| 346 | per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 347 | per_frame_24=rott_ = p2 * 3.1416/4; |
| 348 | per_frame_25= |
| 349 | per_frame_26=rott = rott + .2*30/fps*q2; |
| 350 | per_frame_27= |
| 351 | per_frame_28= |
| 352 | per_frame_29=q1 = cos(rott); |
| 353 | per_frame_30=q2 = sin(rott); |
| 354 | per_frame_31=q3 = -q2; |
| 355 | per_frame_32=q4 = q1; |
| 356 | per_frame_33= |
| 357 | per_frame_34=ran = bnot(q24)*ran + q24 * (rand(50)-24); |
| 358 | per_frame_35=tran = tan(ran); |
| 359 | per_frame_36=tran = max(tran,-5); |
| 360 | per_frame_37=tran = min(tran,5); |
| 361 | per_frame_38= |
| 362 | per_frame_39=trel = trel + .02*30/fps*tran+q24; |
| 363 | per_frame_40=q5 = cos(trel); |
| 364 | per_frame_41=q6 = sin(trel); |
| 365 | per_frame_42=q7 = -q6; |
| 366 | per_frame_43=q8 = q5; |
| 367 | per_frame_44= |
| 368 | per_frame_45=movex = movex*dec_slow + .1*sin(rott)*30/fps; |
| 369 | per_frame_46=q9 = movex; |
| 370 | per_frame_47= |
| 371 | per_frame_48=spd = spd*bnot(q24) + q26*q24; |
| 372 | per_frame_49=movez = movez + .005*30/fps*spd; |
| 373 | per_frame_50=q30 = movez; |
| 374 | per_frame_51=//q30 = .3* (sin(time/45) + 1.5); |
| 375 | per_frame_52= |
| 376 | per_frame_53=mv_x = 20; |
| 377 | per_frame_54=mv_y = 15; |
| 378 | per_frame_55=mv_a = .1; |
| 379 | per_frame_56=mv_l = 0; |
| 380 | per_frame_57= |
| 381 | per_frame_58=q18 = sin(time/7); |
| 382 | per_frame_59=q19 = sin(time/11); |
| 383 | per_frame_60= |
| 384 | per_frame_61=q32 = pow(0.98, 30/fps); //fade |
| 385 | per_frame_62= |
| 386 | per_frame_63= |
| 387 | per_frame_64=// a |
| 388 | per_frame_65=scale = 8; |
| 389 | per_frame_66=angle = -time*0.2; |
| 390 | per_frame_67= |
| 391 | per_frame_68=q1 = scale*cos(angle); // the real part |
| 392 | per_frame_69=q2 = scale*sin(angle); // the imaginary part |
| 393 | per_frame_70= |
| 394 | per_frame_71=// b |
| 395 | per_frame_72= |
| 396 | per_frame_73=q3 = 0; // the real part |
| 397 | per_frame_74=q4 = 0.3; // the imaginary part |
| 398 | per_frame_75= |
| 399 | per_frame_76=// c |
| 400 | per_frame_77=scale = 0.8; |
| 401 | per_frame_78=angle = time*0.2; |
| 402 | per_frame_79= |
| 403 | per_frame_80=q5 = scale*cos(angle); // the real part |
| 404 | per_frame_81=q6 = scale*sin(angle); // the imaginary part |
| 405 | per_frame_82= |
| 406 | per_frame_83=// d |
| 407 | per_frame_84=q7 = -0.25; // the real part |
| 408 | per_frame_85=q8 = 0.2; // the imaginary part |
| 409 | per_frame_86= |
| 410 | per_frame_87=q11 = 1/asin(1); |
| 411 | warp_1=`sampler sampler_worms; |
| 412 | warp_2=`float3 color, mus; |
| 413 | warp_3=`float dx,dy; |
| 414 | warp_4=`shader_body { |
| 415 | warp_5=`float2 uv1 = (uv-.5) * aspect.xy; |
| 416 | warp_6=` |
| 417 | warp_7=` |
| 418 | warp_8=`float2 uv6 = uv1; |
| 419 | warp_9=`float z = .2*q28*length(uv1)+rand_frame * 64; |
| 420 | warp_10=`float2 d = normalize(uv1); |
| 421 | warp_11=`float clp = .5+rand_preset*10; |
| 422 | warp_12=`float2 rs = clamp(tan(z)*d,-clp,clp); |
| 423 | warp_13=`uv += rs/20; |
| 424 | warp_14=` |
| 425 | warp_15=` |
| 426 | warp_16=`uv6 = .4*sin(uv1*2*(4+q28)); |
| 427 | warp_17=`mus = .06/(length(uv6)); |
| 428 | warp_18=`mus *= roam_cos; |
| 429 | warp_19=` |
| 430 | warp_20=`float3 blur = GetBlur1(frac(uv)); |
| 431 | warp_21=` |
| 432 | warp_22=`float3 crisp= tex2D(sampler_main,uv); |
| 433 | warp_23=` |
| 434 | warp_24=`float3 ret1 = crisp - blur*.04 + .15*mus; |
| 435 | warp_25=` |
| 436 | warp_26=`//ret1 = lerp(ret1,ret1.gbr,lum(ret1)); |
| 437 | warp_27=`q25 = q24+.01; |
| 438 | warp_28=`ret = q25*(ret1-.02)*.98 + (1-q25)* (GetPixel(uv_orig)-.0015); |
| 439 | warp_29=`} |
| 440 | comp_1=`float2 factorA, factorB, product; |
| 441 | comp_2=`float2 numerator, denominator, fraction; |
| 442 | comp_3=`float3 ret1, neu; |
| 443 | comp_4=`float2 uv2,uv3; |
| 444 | comp_5=`shader_body |
| 445 | comp_6=`{ |
| 446 | comp_7=` float2 uv2; |
| 447 | comp_8=` float ang2, c, s; |
| 448 | comp_9=` uv -= 0.5; |
| 449 | comp_10=` uv *= aspect.xy; |
| 450 | comp_11=` uv = mul(uv, float2x2(_qb)); |
| 451 | comp_12=` float dist = 1; |
| 452 | comp_13=` float inten = 1; |
| 453 | comp_14=` ret1 = 0; |
| 454 | comp_15=` int anz = 4; |
| 455 | comp_16=` float n = anz; |
| 456 | comp_17=` while (n >= 0) { |
| 457 | comp_18=` ang2 = 0*n/anz; |
| 458 | comp_19=` c = cos(ang2); |
| 459 | comp_20=` s = sin(ang2); |
| 460 | comp_21=` uv2.x = uv.x*c - uv.y*s; |
| 461 | comp_22=` uv2.y = uv.x*s + uv.y*c; |
| 462 | comp_23=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt ! |
| 463 | comp_24=` inten = sqrt(dist)*(1-dist)*2; |
| 464 | comp_25=` float2 uv3 = 3*uv2*dist*(1+q5*uv.x) + 0.5 +float2(q18*n,q19) ; |
| 465 | comp_26=` float3 cmul = float3(dist,1-dist,1-(dist-.5)*(dist-.5)*4); |
| 466 | comp_27=` neu = tex2D(sampler_main,uv3) +q6*GetBlur1(frac(uv3*1.04)).bgr*1; |
| 467 | comp_28=` ret1 = max(ret1,neu*inten); |
| 468 | comp_29=` float2 uvo = uv; |
| 469 | comp_30=`//*** Flexis Moebius transformation code |
| 470 | comp_31=` uv3 = (uv3-0.5)*aspect.xy*2; |
| 471 | comp_32=` factorA = uv3; |
| 472 | comp_33=` factorB = float2(q1,q2); |
| 473 | comp_34=` product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part |
| 474 | comp_35=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part |
| 475 | comp_36=` numerator = product + float2(q3,q4); |
| 476 | comp_37=` factorA = uv; |
| 477 | comp_38=` factorB = float2(q5,q6); |
| 478 | comp_39=` product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part |
| 479 | comp_40=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part |
| 480 | comp_41=` denominator = product + float2(q7,q8); |
| 481 | comp_42=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part |
| 482 | comp_43=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part |
| 483 | comp_44=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 484 | comp_45=` uv3 *= fraction*0.5; |
| 485 | comp_46=` float t = -time*0.5; // set velocity here |
| 486 | comp_47=` float2 c2 = (uv-0.5); |
| 487 | comp_48=` float1 ang_hq = -atan2(c2.x,c2.y); |
| 488 | comp_49=` float2 spiral = float2(ang_hq*q11*3+t,aspect.w*log(length(c2))+ang_hq*q11-t); |
| 489 | comp_50=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*0.95; // mirror |
| 490 | comp_51=` uv3 = spiral; |
| 491 | comp_52=` ret1 += tex2d(sampler_main,spiral); |
| 492 | comp_53=` n--; |
| 493 | comp_54=` } |
| 494 | comp_55=` ret1 = lerp(ret1,ret1.gbr,q26/6); |
| 495 | comp_56=` ret = ret1*2 + (1-rad)*q26/3*GetPixel(q5/2+uv*(2-rad)); |
| 496 | comp_57=`} |
| 497 | fRating=5.000000 |